<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

	<link rel="stylesheet" href="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Css/css-common.css" />
	<link rel="stylesheet" href="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Css/header.css" />
	<link rel="stylesheet" href="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Css/foot.css" />
	<link rel="stylesheet" href="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Css/login.css" />
	<script type="text/javascript" src="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Js/table.js"></script>
	<script type="text/javascript" src="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Js/common.js"></script>
		<!-- 载入less文件 -->
	<link rel="stylesheet/less" href="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Css/pay.less" />
	<!-- 载入less.js -->
	<script type="text/javascript" src="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Js/less-1.5.0.min.js"></script>
	<title>Document</title>
</head>
<body>
<div id="pay" class="Swd">
	<img src="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Images/pay.png" alt="" />
	<ul class="cost-info">
		<li>
			<span>支付编号</span>
			<span>订单编号</span>
			<span>商品名称</span>
			<span>订单金额</span>
			<span>应付金额</span>
		</li>
		<?php if(is_array($orderdata)):?><?php  foreach($orderdata as $k=>$v){ ?>
		<li class="goods">
			<p><?php echo $v['paynumber'];?></p>
			<p><?php echo $v['ordernumber'];?></p>
			<p><?php echo $v['goodsname'];?></p>
			<p><?php echo $count;?></p>
			<p><?php echo $count;?></p>
		</li>
		
	</ul>
	<div  class="Swd bank">
	<p>应付总金额:<?php echo $count;?>元</p>
	<img src="http://127.0.0.1/damai/./App/App/Index/Tpl/Public/Images/bank.png" alt="" />
	<a href="<?php echo U('Pay/pay_ok',array('orderid'=>$v['orderid']));?>"></a>
	<?php }?><?php endif;?>
</div>
</div>

</body>